/*
 * 英才汇硕信息科技有限公司 拥有本软件版权 2021 并保留所有权利。
 * Copyright 2021, YCHS Information&Science Techology Co.,Ltd,
 * All right reserved.
 */
package com.ychs.lawyerback.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author mayujing
 * @version 1.0
 */
@Data
public class ContractEntity {
    private Integer contractId;    //合同ID（主键）
    private String contractNumber; //合同编号
    private String contractType;   //合同类型
    private String contractName;   //合同名称
    private Integer contractAmount;//合同金额
    private String lawyerName;     //律师姓名

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date claimDate;//签订日期
    private String operator;
    private Boolean status;
    private String remarks;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private String beginTime;//查询开始时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private String endTime;//查询结束时间
    private String cancellationReason;//作废原因
    // 审计字段
    private String createBy;
    private Date createTime;
    private String updateBy;
    private Date updateTime;

}
